import 'package:url_launcher/url_launcher.dart';

class KudoOpen {
  static Future<void> openLaunch(String url) async {
    await launchUrl(Uri.parse(url), mode: LaunchMode.platformDefault);
  }

  static Future<void> openPrivacy() async {
    await openLaunch(
      'https://www.freeprivacypolicy.com/live/b11d7d9b-9978-4673-bd0f-622fe1e82419',
    );
  }

  static Future<void> openTerms() async {
    await openLaunch(
      'https://www.freeprivacypolicy.com/live/49acd7a6-6d43-4160-81e9-8d4f4022704b',
    );
  }

  static Future<void> openEula() async {
    await openLaunch(
      'https://www.freeprivacypolicy.com/live/677684ce-b90d-496c-bf0f-9a03065c34e9',
    );
  }
}
